global_defs {
    router_id lb-5
    script_user root
    enable_script_security
}
vrrp_script check_nfs {
    script "/etc/keepalived/check_nfs.sh"
    interval 5
}

vrrp_instance VI_1 {
    state MASTER
        interface eth0
        virtual_router_id 50
        priority 150
        advert_int 1
        authentication {
        auth_type PASS
        auth_pass 1111
    }
       virtual_ipaddress {
          172.16.1.35 dev eth0 label eth0:1
}	
    track_script {
        check_nfs
   }
}
